<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <h1>打开控制台</h1>
  <script>
    let name = '小红';
    let age = 18;

    console.log({ name: name, age: age })

    const GSname = '黑马程序员';
    console.log(`公司名字是${GSname}`)
  </script>
</body>

</html>